package com.bestcem.xm.survey.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * @TableName ds_survey_uniqueanswer
 */
@TableName(value ="ds_survey_uniqueanswer")
@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyUniqueAnswer extends BaseEntity2 {
    /**
     * 
     */
    @TableId(value = "id")
    private String id;

    /**
     * 问卷ID
     */
    @TableField(value = "project_id")
    private String projectId;

    /**
     * 序号
     */
    @TableField(value = "seq")
    private Long seq;

    /**
     * 问题gid
     */
    @TableField(value = "qid")
    private Integer qid;

    /**
     * 矩阵行gid
     */
    @TableField(value = "row_id")
    private Integer rowId;

    /**
     * 选项gid，即seq
     */
    @TableField(value = "op_id")
    private Integer opId;

    /**
     * 答案
     */
    @TableField(value = "data")
    private String data;
}